stats: own page under Projects, per-host breakdown of agents and probes - #289
Merged
Conversation
The stats tab moves out of the metrics dashboard to /stats (the old /metrics/stats redirects). Each host row opens into its named AI scrapers, bots, and unclassified agents plus the scanner families that hit it, from the new /agents and /probes endpoints (MoonBase#1466); top-level tables cover AI scraper volume by day, the busiest agents, and probes across hosts. Pure rollup helpers carry the grouping so the component stays a renderer.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
muchq | 703a791 | Commit Preview URL Branch Preview URL |
Sep 01 2026, 11:40 PM |
Ask the agents endpoint for its row ceiling so thin days of a scraper show as rows rather than gaps; let the detail cell wrap instead of inheriting the host table's nowrap; say "not available" for a table whose endpoint failed rather than claiming zero rows; drop the aria-controls that pointed at an unmounted row. Tests pin the row-click toggle, per-endpoint windows, server ordering, browser exclusion from the breakdown, and one name under two classes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to muchq/MoonBase#1466 (MoonBase#1458). The stats tab leaves the metrics dashboard for its own
/statspage in the Projects menu. Host rows are now an accordion: click one for its named AI scrapers, bots, and the unclassified tail by product token, plus the scanner families that hit it. Above the fold: AI scrapers by day, busiest agents across hosts, probes, and the short-link table as before.Renders fine against a stats service that predates the two new endpoints. Geo is a follow-up (MoonBase#1467).
npm run typecheck && npm test && npm run buildpass.